<!DOCTYPE  html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<!-- 标题 -->
<div id="sub-header">
    <div class="area clear_fix">
        <h1 class="logo">
            <a href="/">
                <img src="../images/newIndex/logo.png" alt="banner.img">
            </a>
        </h1>

        <div class="nav">
            <ul class="clear_spot clear_spot" id="sub-nav">

            </ul>
        </div>

        <ul class="fr login_registry clear_spot" th:if="${session.userLoginKey_==null}">
            <span class="split"></span>
            <li><a href="javascript:void(0)" onclick="toRegister()"  class="font register">注册</a></li>
            <li><a href="javascript:void(0)" onclick="toLogin()" class="font login">登录</a></li>
        </ul>

        <div onmouseenter="setUlShow()"  onmouseleave="canelUlShow()" class="fr" style="height: 80px;line-height: 80px;cursor: pointer;text-align: center;width: 100px" th:if="${session.userLoginKey_!=null}">
            <i style="background: url(../images/logins/user_ico.png) no-repeat;width: 21px;height: 25px;display: inline-block;"></i>
            <ul class="ui">
                <li><a href="#">个人空间</a></li>
                <li><a href="#">编辑资料</a></li>
                <li><a href="#">我的约看</a></li>
                <li><a href="javascript:void(0)" onclick="toLogout()">退出</a></li>
            </ul>
        </div>
    </div>
</div>
</html>